package com.by.service;



import com.by.bean.Permission;
import com.by.bean.User;
import com.by.vo.LoginParams;

import java.util.List;

public interface UserService {

    User getUserByName(String name);

    List<Permission> getPermissionsByUserId(Integer id);

    String login(LoginParams loginParams);
}